/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package exceptions;

import entity.CurrencyEE;
import java.math.BigDecimal;

/**
 *
 * @author Vojtisek
 */
public class NotEnoughMoneyException extends Exception {

    BigDecimal balance;

    public NotEnoughMoneyException() {
        super();
    }

    public NotEnoughMoneyException(BigDecimal balance) {
        super();
        this.balance = balance;
    }

    public BigDecimal getBalance() {
        return balance;
    }
}
